package com.hgyc.mom.tool.strategy;

import com.hgyc.mom.tool.entity.AutoCodePart;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 编码规则组成固定字符生成实现类
 * @author fwj
 * @since 2025/5/8
 */
@Component
@Order(2)
public class PartTypeFixCharHandler implements PartTypeTemplate {

    @Override
    public String partHandle(AutoCodePart autoCodePart) {
        return autoCodePart.getFixCharacter();
    }
}
